﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;

namespace HRLib
{
    public class HrContext : DbContext
    {
        public HrContext()
            : base(@"Data Source=chuck8;Initial Catalog=hrdb;Integrated Security=True;MultipleActiveResultSets=True")
        { }
        
        public DbSet<Employee> Employees { get; set; }
        public DbSet<Company> Companies { get; set; }
    }
}

